<?php

namespace App\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * TkFlowSource
 *
 * @ORM\Table(name="tk_flow_source", indexes={@ORM\Index(name="vccId", columns={"vcc_id"})})
 * @ORM\Entity
 */
class TkFlowSource
{
    /**
     * @var int
     *
     * @ORM\Column(name="id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var int
     *
     * @ORM\Column(name="vcc_id", type="integer", nullable=false)
     */
    private $vccId;

    /**
     * @var string
     *
     * @ORM\Column(name="source_name", type="string", length=30, nullable=false)
     */
    private $sourceName;

    /**
     * @var bool
     *
     * @ORM\Column(name="source_order", type="boolean", nullable=false, options={"comment"="排序"})
     */
    private $sourceOrder;

    /**
     * @var bool
     *
     * @ORM\Column(name="is_del", type="boolean", nullable=false, options={"comment"="是否删除（0未删除1已删除）"})
     */
    private $isDel = '0';

    public function getId(): ?int
    {
        return $this->id;
    }

    public function getVccId(): ?int
    {
        return $this->vccId;
    }

    public function setVccId(int $vccId): self
    {
        $this->vccId = $vccId;

        return $this;
    }

    public function getSourceName(): ?string
    {
        return $this->sourceName;
    }

    public function setSourceName(string $sourceName): self
    {
        $this->sourceName = $sourceName;

        return $this;
    }

    public function getSourceOrder(): ?bool
    {
        return $this->sourceOrder;
    }

    public function setSourceOrder(bool $sourceOrder): self
    {
        $this->sourceOrder = $sourceOrder;

        return $this;
    }

    public function getIsDel(): ?bool
    {
        return $this->isDel;
    }

    public function setIsDel(bool $isDel): self
    {
        $this->isDel = $isDel;

        return $this;
    }


}
